package com.maijinjie.common.upload;

import java.util.List;
import java.util.Map;

import com.maijinjie.common.upload.bean.FileVo;

public class SinglePicFileUploadHandler implements FileUploadHandler{

	@Override
	public void handleUploadFile(Map<String, String> parameter,
			Map<String, Object> returnMessage, List<FileVo> list)
			throws Exception {		
				returnMessage.put("filePath",list.get(0).getUrl());
	}

	@Override
	public String returnFileUploadPlace() {
		return "images/";
	}

}
